@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  --grey: #959cb26f;
  --black: #181818;
  --red: #8A1538;
  font-family: 'poppins';
  --white: #ffff;
}
body {
  background-image: url('/gray-abstract-wireframe-technology-background_53876-101941.webp');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  z-index: 2;
  overflow-x:hidden ;
}
nav .logo {
  margin-left: 20px;
  width: 70%;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .submenu {
  display: none;
  position: absolute;
  right: 101%;
  top: -5px;
  padding-left: 1rem;

}

.dropdown-menu>li:hover>.submenu {
  display: block;
}

#navbar-container {
  margin-bottom: 28em;
}

#nave {
  width: 100%;
  padding: auto;
  justify-content: space-around;
  margin-top: 3%;
  margin-bottom: 20px;
  display: flex;


}

#nave a {
  text-decoration: none;
  color: var(--black);
  font-family: Poppins;
  font-size: 1em;
  border-bottom: 5px solid transparent;
}


#nave button {
  font-family: Poppins;
  font-size: 1em;
  margin-top: -0.5%;
  color: var(--white);
  background-color: var(--red);
  border: none;
  border-radius: 5px;
  height: 40px;
  width: 160px;
  padding: 5px;
}

#hover:hover {

  border-bottom: 4px solid var(--red);
}

.img {
  background-image: url(./img/planning-risk-strategy-business-businessman-engineer-gambling-placing-wooden-block-tower_1423-165.webp);
  height: 88vh;
  width: 100%;
  opacity: 0.9;
  /* background-size: contain; */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.img h3,
h4 {
  color: white;
  width: 40%;
  position: relative;
  top: 40%;
  left: 50px;
}

.first_cont {
  margin: 25px;
  text-align: center;

}

.first_cont p,
h1 {
  font-weight: 300;
  text-align: justify;
}

.first_cont li {
  text-align: justify;

}

.back {
  background-color: var(--grey);
  height: auto;
  width: 100%;
}

.first_cont img {
  height: 75vh;
  width: 60%;
  border: 2px solid var(--red);
}

.border1 p,
h2 {
  /* border: 2px solid var(--red); */
  border-radius: 30px;
  padding: 15px;
  text-align: center;
  font-weight: 300;
  text-align: justify;
}

.border1 li {
  font-weight: 300;
}

.border1 h1 {
  text-align: center;
}

.drop {
  min-height: 150vh;
  width: 100%;
}



.grid {
  display: grid;
  /* gap: 20px; */
  grid-template-columns: auto auto auto;
  place-items: center;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 1em;


}

.cell:hover {
  scale: 1.1;
  transition: 3s;
}

.cell img {
  height: 150px;
  width: 250px;
}

.cell {
  box-shadow: 0 6px 6px 6px rgba(0, 0, 0, 0.404);
}

.cell h3 {
  width: 250px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;

}

button a {
  text-decoration: none;
  color: aliceblue;
}

.second_cont p {
  text-align: justify;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mainfooter {
  color: white;
  display: flex;
  justify-content: space-around;
  position: relative;
  width: 100%;
}

.footer {
  color: white;
  display: flex;
  padding-top: 270px;
  justify-content: space-around;
  position: relative;
  width: 1200px;
}

.h1-head {
  font-weight: 500;
  color: #ffffff8c;
  font-size: 25px;
}

.foot1 a {
  display: block;
}

.f1-icons {
  display: flex;
  padding-top: 5px;
}

.f1-icons a {
  margin-right: 10px;
}

.mainfooter hr {
  margin-top: 310px;
}

.mainfooter p {
  text-align: center;
  color: white;
  padding-top: 35px;
}

.footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.313);
}

.footer a:hover {
  text-decoration: none;
  color: #ffffff;
}

.opacity {
  opacity: 50%;
  padding-top: 10px;
}

/* SVG footer */
.custom-shape-divider-top-1669964051 {
  top: 30px;
  left: 0;
  height: 630px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background-color: var(--red);
  position: absolute;
}

.custom-shape-divider-top-1669964051 svg {
  width: calc(145% + 1.3px);
  height: 180px;
  transform: rotateY(180deg);
}

.custom-shape-divider-top-1669964051 .shape-fill {
  fill: #FFF;
}

/* SVG footer */

@media(max-width: 1020px) {
  .con-para {
    width: 512px;
  }
}

@media(max-width:800px) {
  .footer {
    width: 900px;
  }

  .con-image {
    width: 100%;
  }

  .con-data-image {
    height: 350px;
    width: 60%;
  }

  .footer {
    width: 700px;
    padding-top: 220px;
  }

  .h1-head {
    font-size: 1.6rem;
    font-weight: 100;
  }

  .opacity a {
    font-size: 1rem;
  }

  .para-copy {
    font-size: 13px;
  }

  .custom-shape-divider-top-1669964051 svg {
    height: 200px;
  }

  .custom-shape-divider-top-1669964051 {
    height: 590px;
  }
}

@media(max-width: 600px) {
  .con-image {
    width: 100%;
  }

  .con-data-image {
    height: 300px;
    width: 55%;
  }

  .con-para {
    width: 300px;
  }

  .footer {
    width: 100%;
    float: right;
    padding-top: 70px;
  }

  .h1-head {
    font-size: 1.2rem;
    font-weight: 100;
  }

  .opacity a {
    font-size: 12px;
  }

  .para-copy {
    font-size: 10px;
  }

  .custom-shape-divider-top-1669964051 svg {
    height: 0px;
  }

  .custom-shape-divider-top-1669964051 {
    height: 550px;
  }

  .custom-shape-divider-top-1669964051 hr {
    margin-top: 280px;
  }
}

@media(max-width: 450px) {
  .con-image {
    width: 100%;
  }

  .con-data-image {
    height: 250px;
    width: 65%;
  }

  .footer {
    display: block;
    padding-top: 20px;
    text-align: center;
  }

  .f1-icons {
    justify-content: center;
  }

  .custom-shape-divider-top-1669964051 svg {
    height: 0;
  }

  .h1-head {
    font-size: 1.4rem;
    font-weight: 100;
    padding-top: 30px;
    text-align: center;
  }

  .custom-shape-divider-top-1669964051 hr {
    margin-top: 470px;
  }

  p,
  li {
    width: 80%;
    text-align: justify;
    margin: auto;
  }
}